<?php $this->load->view('backend/include/modal_header')?>

<?php if ($selector == selector_replace('.inner-content img')):?>
	<?php if ($operate == 'edit'):?>
	<script>
	$(function() {
		var src_path = '<?php echo $pic['photo_path']?>';
		var width = <?php echo $selector_data['detail']['width']?>;
		var height = <?php echo $selector_data['detail']['height']?>;
		My_widget.upload.upload_widget({ widget_class: 'join_us', src_path: src_path, width: width, height: height });
	});
    </script>
	<div class="modal-body">
	</div>
	<?php endif;?>
<?php endif;?>

<?php $this->load->view('backend/include/modal_footer')?>